'use strict'
const Service = require('egg').Service
class UserService extends Service {
	async login() {
		const data = await this.app.mysql.query(`select * from users`)
		console.log('data:', data) // 异步数据
		return data
	}
}

module.exports = UserService
